nsec_t is replaced with s64 and update Makefile of expose_p2m.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
else
PWD := $(shell pwd)
TOPDIR ?= $(abspath $(PWD)/../../../../..)
-KDIR ?= $(TOPDIR)/linux-$(shell awk '/^LINUX_VER\>/{print $$3}' $(TOPDIR)/buildconfigs/mk.linux-2.6-xen)-xen
+KVER ?= $(shell awk '/^LINUX_VER\>/{print $$3}' $(TOPDIR)/buildconfigs/mk.linux-2.6-xen)
+KDIR ?= $(TOPDIR)/linux-$(KVER)-xen
#CROSS_COMPILE ?= ia64-unknown-linux-
#ARCH ?= ia64
ifneq ($(O),)
OPT_O := O=$(realpath $(O))
+else
+OPT_O ?= O=$(TOPDIR)/build-linux-$(KVER)-xen_ia64
endif
ifneq ($(V),)
unsigned long gpfn;
unsigned long mfn;
unsigned long count;
- nsec_t nsec;
+ s64 nsec;
count = 0;
do_gettimeofday(&before_tv);